<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>
    class Index {
        getName() {
            console.log('my name is yanlele')
        }
    }

    class Main extends Index{
        test() {
            console.log('yanle')
        }

        static getStaticTest() {
            console.log('getStaticTest')
        }
    }


    console.log(Main.getStaticTest);
    console.log(new Main());
</script>
</body>
</html>